<table class="tablesaw table yx-table1 yx-table3 table-striped with-check">
    <thead>
    <tr class="yx-bgd2f6ec">
        <td>课程</td>
        <td>学生</td>
        <td>上课日期</td>
        <td>课次</td>
        <td>课次价格</td>
        <td>补贴/分成价格</td>
        <td>类型</td>
        <td>是否代打卡</td>
    </tr>
    </thead>
    <tbody>
    <?php if(!empty($data)) { ?>
      <?php foreach ($data as $item) { ?>
        <tr>
           <td><?=$item['course']?></td>
           <td><?=$item['student']?></td>
           <td><?=$item['class_time']?></td>
           <td><?=$item['lesson']?></td>
           <td><?=$item['price']?></td>
           <td><?=$item['settlement_price']?></td>
           <td><?=$item['class_type']?></td>
           <td><?=$item['check_type']?></td>
         </tr>
      <?php } ?>
    <?php } ?>
    </tbody>
</table>